package com.haiqiu.file.constant;

/**
 * @author HaiQiu
 * @since 2023/3/3
 * 常量
 */
public interface Constants {

    String CARVE = "/";

    String CARVE_WIN = "\\";

    String CAS = ".";

    String HORIZONTAL = "-";

    String HTTP = "http";

    /**
     * 文件排序规则
     */
    String SIZE_ASC = "sizeAsc";
    String SIZE_DESC = "sizeDesc";
    String DATE_ASC = "dateAsc";
    String DATE_DESC = "dateDesc";

    /**
     * 系统相关
     */
    String WINDOWS = "Windows";
    String LINUX = "Linux";

    /**
     * 激活
     */
    Boolean ON = true;
    Byte ENABLE = 1;
    /**
     * 关闭
     */
    Boolean OFF = false;
    Byte DISABLE = 0;

    /**
     * 时间格式化到年月日时分秒
     */
    String TIME_YMDHMS = "yyyy-MM-dd hh:mm:ss";
}
